Skip to content
This repository has been archived by the owner on Aug 11, 2020. It is now read-only.

Use safe areas and reposition elements on rotation #585

Merged
merged 2 commits into from
Feb 28, 2018

Conversation

jcesarmobile
Copy link
Collaborator

@jcesarmobile jcesarmobile commented Dec 13, 2017

Fixes #583

Used safe areas where available to size and position elements

Moved the code to viewDidAppear as safe area size is not present until then.

img_1678
img_1679

@macdonst
Copy link
Member

@jcesarmobile on my iPhone 6+ running iOS 10.3.3 and iPhone 7+ running iOS 11.2.5 I get the following odd behaviour:

barcode

So it looks like something is not quite right with those screen sizes.

@jcesarmobile
Copy link
Collaborator Author

img_5cda13d36533-1
img_1929

Improved iPhone X behaviour without breaking other models

@macdonst macdonst merged commit 85faa87 into phonegap:master Feb 28, 2018
@jcesarmobile jcesarmobile deleted the use-safe-area branch March 8, 2018 23:35
@adebree
Copy link
Contributor

adebree commented Mar 15, 2018

This improvement caused a regression, fixed in: #624

@lock
Copy link

lock bot commented Jun 7, 2018

This thread has been automatically locked.

@lock lock bot locked as resolved and limited conversation to collaborators Jun 7, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants